package com.hrpmar.controller.dto;

import com.hrpmar.pojo.Department;
import com.hrpmar.pojo.Role;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by 李松松 on 2017/11/15.
 * 用于查询医护人员信息
 */
public class MedicperDto {

    //部门对象
    private Department dep = new Department();
    //员工工号
    private String woJubnum;
    //角色编号(获取是否管理员)
    private Integer roleId;
    //科室编号
    private String divCode;
    //医护人员名称
    private String woName;
    //出生日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
    //医护人员角色Id
    private Integer woRoleId=-1;
    //联系电话
    private String phone;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getWoRoleId() {
        return woRoleId;
    }

    public void setWoRoleId(Integer woRoleId) {
        this.woRoleId = woRoleId;
    }

    public Department getDep() {
        return dep;
    }

    public void setDep(Department dep) {
        this.dep = dep;
    }

    public String getWoJubnum() {
        return woJubnum;
    }

    public void setWoJubnum(String woJubnum) {
        this.woJubnum = woJubnum;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getDivCode() {
        return divCode;
    }

    public void setDivCode(String divCode) {
        this.divCode = divCode;
    }

    public String getWoName() {
        return woName;
    }

    public void setWoName(String woName) {
        this.woName = woName;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
